package org.ccahouse.ccatrain.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.ccahouse.ccatrain.entity.Hospital;

import java.util.List;

public interface HospitalMapper extends BaseMapper<Hospital> {

    Hospital getOneById(Integer id);

    Hospital getDetailById(@Param("id") Integer id);

    List<Hospital> getHospitalByIds(List<Integer> ids);

}
